package com.mc.common.designpattern.signleton;

public enum Singleton {
    //名字可以随意取
    INSTANCE1;
    public void whateverMethod() {

        System.out.println("可以任何方法");

    }
}